package com.ruoyi.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class DeptAddVo {
    @ApiModelProperty(value = "部门ID，新增同级部门时必填")
    private Long deptId;
    @ApiModelProperty(value = "上级部门id，新增下级部门时必填")
    private Long parentId;
    @ApiModelProperty(value = "部门名称", required = true)
    private String deptShortName;
    @ApiModelProperty(value = "显示排序", required = true)
    private Integer orderNumber;
    @ApiModelProperty(value = "负责人", required = false)
    private String leader;
    @ApiModelProperty(value = "联系电话", required = false)
    private String phone;
    @ApiModelProperty(value = "邮箱", required = false)
    private String email;
    @ApiModelProperty(value = "部门状态(0停用 1正常)", required = false)
    private Integer isFrozen;
    @ApiModelProperty(value = "组织部门类型数组字符串（1售后管理部门，2资产管理部门，3物联网部门，4巡检部门，5代理商)", required = true)
    private String deptType;
    @ApiModelProperty(value = "部门地址", required = false)
    private String address;
}
